// JavaScript Document
$(function(){
	// 倒计时右侧轮播
	var djs_i=0;
	$('.djs_prev').click(function(){		
		djs_i--;		
		if(djs_i==-1){
			$('.djs_right ul').css({left:'-4000px'});
			djs_i=3;	
		}
		$('.djs_right ul').stop().animate({left:djs_i*-1000+'px'},500);
	});
	$('.djs_next').click(function(){		
		djs_i++;		
		if(djs_i==5){
			$('.djs_right ul').css({left:'0px'});
			djs_i=1;	
		}
		$('.djs_right ul').stop().animate({left:djs_i*-1000+'px'},500);
	});	
	// 倒计时右侧结束

	
	// 头部搜索框
	var vl=$('.sh_text').val();
	$('.sh_text').focus(function() {
		$('.sh_text').attr("value","");
	});
	$('.sh_text').focusout(function(){
		$('.sh_text').attr({"value":vl});
	});
	// 头部搜索框结束
})